<?php
require_once ROOT . '/config/db_params.php';

class Database
{
    public static function init()
    {
        R::setup('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USER, DB_PASS);
    }

    public static function close()
    {
        R::close();
    }
}